---
title: Setup
---

<Info>To install Open Interpreter, you'll need Python [3.10](https://www.python.org/downloads/release/python-3100/) or [3.11](https://www.python.org/downloads/release/python-3110/). Run `python --version` to check your version.</Info>

## Installation

Run the following command in your terminal to install Open Interpreter.

```bash
pip install open-interpreter
```

## Terminal usage

After installation, you can start an interactive chat in your terminal by running:

```bash
interpreter
```

## Python usage

To start an interactive chat in Python, run the following:

```python
from interpreter import interpreter

interpreter.chat()
```

You can also pass messages to `interpreter` programatically:

```python
interpreter.chat("Get the last 5 BBC news headlines.")
```

[Click here](/usage/python/streaming-response) to learn how to stream its response into your application.
